package com.chs.recoginition.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.chs.recoginition.pojo.Comments;
import com.chs.recoginition.vo.PageRespVo;
import com.chs.recoginition.vo.reqvo.CommentPageVo;
import com.chs.recoginition.vo.respVo.CommentRespVo;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 留言 Mapper 接口
 * </p>
 * @author CHS
 * @since 2023-04-08
 */
public interface CommentsMapper extends BaseMapper<Comments> {
    /**
     * 分页查询
     * @param reqVo
     * @return
     */
    PageRespVo<CommentRespVo> findPage(@Param("reqVo") CommentPageVo reqVo);
}
